<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<s:if test="%{actionErrors != null && actionErrors.size > 0}">
<ul class="errors">
	<s:iterator value="actionErrors">
	<li><span class="errorMessage"><s:property/></span></li>
	</s:iterator>
</ul>
</s:if>
<s:if test="%{actionMessages != null && actionMessages.size > 0}">
<ul class="messages">
	<s:iterator value="actionMessages">
	<li><span class="message"><s:property/></span></li>
	</s:iterator>
</ul>
</s:if>
